/*
 * AppendWriter.h
 *
 *  Created on: 22/09/2014
 *      Author: samuel
 */

#ifndef APPEND_WRITER_H_
#define APPEND_WRITER_H_

#include <iostream>
#include <sstream>
#include <string>

class AppendWriter : public Writer {
private: 
	string file;
	ofstream outFile;
public:
	AppendWriter(string fileName);
	virtual ~AppendWriter();
	void open();
	void appendLine(string line);
	void append(string str);
	void close();
	void endLine();
};

#endif /* APPEND_WRITER_H_ */
